home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / medhelth / slim303c.zip / 2.ZIP / SLIMMER.DOC < prev   
Text File  |  1995-02-18  |  38KB  |  737 lines

  1.    S L I M M E R    R E V   3.0 3c   D A T E D   F E B    1 7,   1 9 9 5
  2.  
  3.              (c) copyright 1988 - 1995 by George D. Summers
  4.  
  5. ***************************************************************************
  6.  
  7.         DEDICATION
  8.  
  9.     SLIMMER is dedicated to the ultimate programmer - the  creator  of  the
  10.     universe.
  11.  
  12. ***************************************************************************
  13.  
  14.         OVERVIEW
  15.  
  16.     SLIMMER  will do the following for you:
  17.         1. Calculate your ideal weight.
  18.         2. Calculate  your  ideal daily calorie requirement.
  19.         3. Keep  track of your weight,  food and exercise calories, as well
  20.     as your daily  intake  of  protein,  carbohydrates,  fat,  cholesterol,
  21.     sodium, potassium and fiber and plot your progress.
  22.         4.   Provide you with a starting data base of over 1,200 food items
  23.     with their corresponding food values.  Allows you to select  and  scale
  24.     items from the food tables for your daily food list.
  25.         5.  Provides for custom food tables for each (registered) user. The
  26.     1,200 item data base can be expanded to up to 7,000 food items in up to
  27.     19 categories and up to 400 types of exercise.
  28.         6.  Allows the user to save the last fourteen (days of)  daily food
  29.     value lists. These lists may be recalled and edited, summed, or deleted 
  30.     - and even copied to a different date if desired.
  31.         7. Various types of exercise may be selected by the user and may be
  32.     scaled and saved in the daily food value lists.
  33.         8.  Daily  food  value  lists  can be printed. (or if no printer is 
  34.     on-line, a print file will be written.)  The Epson FX, HP LaserJet, and 
  35.     PostScript printers are supported.
  36.         9. Daily summation data can be exported to a tab-delimited file for
  37.     use in Excel or other spread sheet program.
  38.  
  39.  
  40.         SYSTEM REQUIREMENTS
  41.  
  42.     SLIMMER  requires  an  IBM  compatable  computer  with at least 300K of
  43.     memory in which to load.  If your computer  has  a  math  co-processor,
  44.     SLIMMER  will  use  it.  SLIMMER can be run on one and two-disk systems
  45.     with difficulty.  It runs fastest when loaded to and run  from  a  hard
  46.     disk-equipped  system. DOS 3.0 or higher is required.  If  you  have  a
  47.     monochrome  or  color monitor with or without a graphics card, you will
  48.     be able to use SLIMMER. The Monochrome, CGA, EGA,  and  VGA  modes  are
  49.     supported.
  50.                                     Page 1
  51.  
  52.  
  53.         INSTALLATION - FLOPPY DISKS 
  54.  
  55.     There is no formal way of installing SLIMMER to floppy disks. If you 
  56.     have a two-floppy disk system you can install the program from one disk 
  57.     to a second disk if the second disk is a 3-1/2" 1.44 meg or a 5-1/4"
  58.     1.2 meg disk. The UNREGISTERED program takes a little under 1 meg to
  59.     install, and the CALTAB files require about 201k. To make more room on 
  60.     the floppy disk, the *.SLI, SLIM.* (demo files) and the *.DOC (documen-
  61.     tation) files can be deleted. 
  62.  
  63.  
  64.  
  65.         INSTALLATION - HARD DISK
  66.  
  67.     SLIMMER  is  distributed on a disk with an installation GO.EXE file. 
  68.     Simply change to the drive containing the installation disk and type 
  69.     in GO. You will be able to select a number if installation and viewing 
  70.     options.
  71.  
  72.         RUNNING SLIMMER
  73.  
  74.     To run SLIMMER,  type  SLIMMER  and press <ENTER> after you have either
  75.     entered the SLIM30 subdirectory on your hard disk, or are on the floppy
  76.     drive containing your working copy of the SLIMMER files. After you have
  77.     run  SLIMMER  a few times and get tired of the opening screens, you can
  78.     bypass them by  entering  SLIMMER n$   and pressing return where  n$ is
  79.     your name  ( or the file name you want to view ).  For example, you can
  80.     view the data for Slim by typing  SLIMMER SLIM, then pressing  <ENTER>.
  81.     A  one-line  BAT file will save you a bit of  typing.  It would contain
  82.     the one-line command SLIMMER SLIM (e.g.), and could be called 1.BAT  or
  83.     a similar simple name.  SLIMMER  could then be run by entering  "1" and 
  84.     then "<RETURN>".
  85.  
  86.         MONOCHROME MONITORS AND LAPTOPS
  87.  
  88.     SLIMMER makes extensive use of color in its screens and  windows.  This
  89.     looks  great on color monitors and in greyscale tones. The truly "black
  90.     and white" monitor (usually amber or  green),  however,  will  be  very
  91.     difficult  to  read  for some color combinations. For you without color
  92.  
  93.                                     Page 2
  94.  
  95.     capability,  you  may want to  try  the  "black  and  white"  option in
  96.     SLIMMER.   As you start up  SLIMMER  for the first time, simply type in
  97.     SLIMMER BW to run in black and white, or as in the example in the prev.
  98.     paragraph,  type in  SSIMMER BW SLIM  to run in black and white and by-
  99.     pass the opening screens.  The  default black and white  mode assumes a 
  100.     monochrome  monitor and  provides a  "white on white"  background.   If 
  101.     your computer has graphics  capability,  then select the UTILITY option 
  102.     from the main menu and make your changes to the graphics mode.
  103.  
  104.     The default color configuration assumes a color graphics adaptor  (CGA)
  105.     and has a red on white background.
  106.  
  107.         DEBUGGING
  108.  
  109.     Every effort has been made to program SLIMMER with sufficient  internal
  110.     checks  to  preclude the more common bugs. Do contact me if you get any
  111.     strange occurrances or results. (See my name and  address at the end of
  112.     this document) SLIMMER will be updated as changes become necessary.
  113.  
  114.         MAJOR SLIMMER VERSION #
  115.  
  116.     Version  1.0   - initial  release  - June 1988
  117.     Version  2.0   - added  calorie  counter  &  improved  editor  and plot
  118.                      routines -Feb 1989 (Minor Revs 2.0a ,b ,bx, 2.1)
  119.     Version  2.1   - Fix to allow SLIMMER to run on computers with DOS 2.11.
  120.                      Sept 1989.
  121.     Version  3.0   - Expanded  data  base  to  1,200  items  and  to  track
  122.                      daily  weight,  calories,  exercise,  protein, sodium,
  123.                      potassium, carbohydrates, cholesterol, fat, and fiber.
  124.                      added monochrome graphics for CGA, EGA  and  VGA,  and
  125.                      color  graphics  for VGA. The CALTAB food table editor
  126.                      was made available to registered users  only.  Use  is
  127.                      now  restricted to those with DOS 3.0 or higher. Added
  128.                      support  for  PostScript  printers.  Mouse  support is
  129.                      provided.
  130.     Version 3.01   - Corrected 'out of string space" bug that occur when the
  131.                      *.CAL files get too verbose. Included reference to the
  132.                      CIS on-line registration. 1/4/93
  133.     Version 3.02,3 - Added HP printer support, enabled file mgmt for unreg-
  134.                      istered users, reduced price from $35 to $25. 6/15/93
  135.                      b) reduced RAM requirement from 450k to 300k  8/15/93
  136.                      3) rewritten to ZIP into smaller files       10/28/93
  137.                      Include 30-day shareware trial of CalTab     11/11/93
  138.                      Include tab-delimited export file capability  2/18/95
  139.                                     Page 3
  140.  
  141.         USE OF SLIMMER REV 1 AND REV 2 FILES
  142.  
  143.     Whenever  revisions  are  made, there's always a question of what to do
  144.     with the old files from the previous revision. In this case,
  145.     If you have a REV 1 or REV 2 file 'n$.SLM',  SLIMMER will convert it to
  146.     a REV 3 file. Be sure to back up your old 'n$.SLM' files before you try
  147.     this. The 'n$.CAL' file from REV 1 and REV 2 should  be  DELETED.  ONLY
  148.     THE DATA FILES ENDING WITH SLM should be retained from the prior revs.
  149.  
  150.         SLIMMER CONVENTIONS
  151.  
  152.     There are  certain conventions that have been used within SLIMMER  that
  153.     try  to  make  it  respond in the way that you might expect for a given
  154.     keystroke. Some of these  are  listed  below:
  155.           <ENTER> - is used to select highlight bar items, to indicate  the
  156.     end  of  keyboard  entries,  and  to  indicate  the  end  of a selected
  157.     function.
  158.           <ESC> - used to cancel a function  and  return  to  the  previous
  159.     menu.
  160.           <SPACE BAR> - used only in food tables  to  tag/untag  your  food
  161.     selections.
  162.           <ARROW  KEY>  - UP and DOWN arrows are used to move the highlight
  163.     bar up and down. In addition, HOME and PAGE UP move the bar to the  top
  164.     of the menu, and END and PAGE DOWN move the bar to the end.
  165.           < + and - > - The  +  and  -  keys  are  used  to  increment  and
  166.     decrement  the  date  and  weight input values and help to decrease the
  167.     keystrokes required to input data. In  general,  there  is  a  list  of
  168.     functions  at  the bottom of each menu or table that will indicate your
  169.     choice of keys to press.
  170.           HOT  KEYS  are  single keystrokes of the letters appearing at the
  171.     left end of some  of  the  lines  of  the  selection  menus.  A  single
  172.     keystroke  of  the selected letter will do the same thing as moving the
  173.     select bar with the up/down arrows and pressing <ENTER>.
  174.  
  175.     Normal editing keys can be used  for  most  of  the  input items. These
  176.     include the  <BACK SPACE>,  <INSERT>,  <DELETE> and the arrow keys.  In
  177.     addition, <CTRL - END> will clear and let you start over with the input
  178.     item.
  179.  
  180.          MOUSE SUPPORT
  181.  
  182.     Mouse Support - In one of the first screens  in  the  program,  SLIMMER
  183.     will  indicate  whether  it has found an active mouse. For a two-button
  184.     mouse, the left button is the <RETURN> key and the right button is  the
  185.     <ESC>  key.  If  you  have a three-button mouse, use the left and right
  186.     buttons only. For user convenience, the mouse is used to input some  of
  187.     the  values.  For example, when the date is requested, you may increase
  188.     the date by pushing the mouse forward, or decrease the date by  pulling
  189.     the  mouse backward. Try this whenever input is requested, and you will
  190.     quickly see where it is active and where it not. Again,  for  increased
  191.  
  192.                                     Page 4
  193.  
  194.     ease  of  use, the left button is used to tag items when you are in the
  195.     calorie counter section of the program. When you are asked for a  scale
  196.     factor,  you may press the left button to accept the default value of 1
  197.     or you may first move the mouse backward or forward until you  see  the
  198.     value  that  you  want.  For foods, the scale factor varies from 0.1 to
  199.     10.0 in steps of 0.1, and  for  exercise  (minutes)  the  scale  factor
  200.     varies  from  1 to 100 in steps of 1 as you move the mouse. You are, of
  201.     course, always able to input any scale factor that you desire from  the
  202.     numbers on the keyboard....
  203.  
  204.     On some computers such as 386's and 486's the mouse  response  will  be
  205.     too  fast. In order to slow down the mouse, go to the UTILITIES section
  206.     and select the "cHange  mouse  speed" option. Note that the mouse speed
  207.     is shared by all those who use the same computer.
  208.  
  209.         BACKGROUND COLOR AND GRAPHICS MODE
  210.  
  211.     Whenever  you  run  SLIMMER  for the first time, go to the UTILITY menu
  212.     and select a background color and graphics mode for  yourself. When you
  213.     select the background color and graphics mode, it is  saved in a n$.CFG
  214.     file for you (n$ is your name) and will recalled the next time.
  215.  
  216.         THE OUTPUT FILES
  217.  
  218.     The first time you run SLIMMER, it will  create  a  new  file  in  your
  219.     name, It requests your first name, then uses the first eight letters of
  220.     your  name  plus  the extension SLM to create a file such as "JOHN.SLM"
  221.     for a user named John. An example file named SLIM.SLM is included  with
  222.     SLIMMER  to  allow you to see a file with some daily weight and calorie
  223.     data points in it. SLIM is a "pseudo" registered user in that the  File
  224.     Management  options  can be examined when SLIM is the user name and the
  225.     program  is started with SLIMMER SLIM.   While the file management menu 
  226.     can be  viewed,  the operation of  the items are disabled.   Be sure to 
  227.     select the graphics  mode  corresponding to your system's capability in 
  228.     the UTILITY section.  You will then be able to view SLIM's sample data.
  229.  
  230.     SLIMMER will only save up to 200 days worth of weight  and  food  value
  231.     data.   On the  201st day, it will cut back to to 100 items (discarding
  232.     the first 100 values. If you want to keep a  complete  record  of  your
  233.     weight, and calorie file, you are advised to make a copy of your output
  234.     file  before  it  reaches  200  data  points, and every 200 data points
  235.     thereafter.
  236.     HINT: You may, if you wish, use a different name in order to keep  your
  237.     old  data  on-line. For example, SLIM has accumulated 200 days worth of
  238.     data. Now, starting on the 201st day, he logs in as SLIM1 for the  next
  239.     200  days and so on. This will allow him to look at his old file at any
  240.     time by logging in as SLIM.
  241.  
  242.                                     Page 5
  243.  
  244.  
  245.  
  246.         DATE ENTRIES
  247.  
  248.     When you first enter SLIMMER, you will be prompted  for  a  date.  This
  249.     date  is the default date for the daily date/weight/calorie  file.  The
  250.     date  from  your  system is used as the initial starting date. You need
  251.     only press <ENTER> to accept the date, or press + or - to  increase  or
  252.     decrease  the  date  by  one day.  You can also enter the date from the
  253.     keyboard.   Plotted  data  is  output  by date entry number rather than
  254.     date. In other words, if you have 7  daily  weights  -  followed  by  a
  255.     2-week  vacation  away  from  the scales - followed by seven more daily
  256.     weights, it would appear as 14 consecutive data points in  your  output
  257.     file and on your graph.
  258.  
  259.  
  260.         YOUR PERSONAL DATA AND GOALS
  261.  
  262.     This  section of the program should be completed by the user during his
  263.     or her first session with SLIMMER. Simply start at the top and move the
  264.     select bar using the up & down arrow keys. The first  item  "List  your
  265.     Personal  Data"  will be empty until you complete the rest of the item.
  266.     Carefully enter your response to each selected item as  you  work  your
  267.     way down the menu - from frame size down to your height. Finally select
  268.     the  "Calculate  Weight and Calorie Goals" item to calculate your ideal
  269.     weight  and  calorie goals. You will be asked to input your goal weight
  270.     and calorie intake goals. The goals are displayed on your user graphs.
  271.  
  272.     Note: Those of you  who  have  extremely  small  wrists  or  very  long
  273.     slender  fingers  may  find  yourselves  in  the  "  S " or Small frame
  274.     category. If this happens, feel free to upgrade yourself to the "  M  "
  275.     or  Medium  frame  category.  The  method used in SLIMMER to select the
  276.     frame size is admitedly crude - and your doctor's definition should  be
  277.     taken instead.
  278.  
  279.  
  280.         REVISE WEIGHT & FOOD VALUE DATA
  281.  
  282.     The daily plot data of date, calories, and weight  etc  can  be  edited
  283.     here. New lines can not be added, but existing lines can be changed. If
  284.     you  are  changing numbers by overwriting them, be sure that the number
  285.     returned by the editor is the one you want. (check your work). You  may
  286.     find  it  helpful to use the space bar to  overwrite the old data if it
  287.     extends beyond the new numbers you enter. To delete a line of data from
  288.     the list, use the CTRL-END command to blank out the  DATE  entry.   The
  289.     editor will return a / value, and that line will be  deleted  when  you
  290.     leave the editor.
  291.  
  292.                                     Page 6
  293.  
  294.  
  295.  
  296.         GRAPH YOUR PROGRESS
  297.  
  298.     Plots of your daily weight and food or exercise values can be viewed in
  299.     either ASCII,  low,  medium,  or  high  resolution  depending  on  your
  300.     system's  capability.  If  in  doubt  about  the  configuration of your
  301.     system, experiment with the options offered  in  the  UTILITY  section.
  302.     You  will need a color graphics adapter (CGA or EGA or VGA) to view the
  303.     high resolution graphs. SLIMMER will let you know if it  can't  find  a
  304.     graphics  card.  If  you  have  placed  the  command  GRAPHICS  in your
  305.     AUTOEXEC.BAT or have executed the command at some time before  entering
  306.     SLIMMER  and  if  you  have  a CGA graphics card or better, and if your
  307.     printer can do IBM graphics,  you  will  be  able  to  copy  your  high
  308.     resolution graphs to the printer with the <SHIFT-PRINT SCREEN> command.
  309.  
  310.  
  311.         COUNT CALORIES / VIEW FOOD TABLES
  312.  
  313.  
  314.     This section of the program is used  to  generate  your  Daily  Calorie
  315.     Counter  lists.  It is both the most complex and also the most powerful
  316.     section of the program. Its component parts are as follows:
  317.          1. Weight entry.
  318.     As you enter this section of the program, you will be prompted for your
  319.     daily weight. This happens every time. The default value is either your
  320.     previous day's value or a value  you  entered  earlier  the  same  day.
  321.     Change  the weight with the + or - keys, or enter a new weight from the
  322.     keyboard.
  323.          2.  SLIMMER food and exercise tables
  324.     The  food  tables,  starting with  "Beverages"  and  going  through the
  325.     "Vegetables"  are  selected  using  the arrow keys or the letter at the
  326.     left  end  of each line may be pressed to select  the  line.  You  will
  327.     then  see the food or exercise table. You may now use the up/down arrow
  328.     keys as well as page up/down  and  home/end  keys  to  move  about  the
  329.     table.  F1  provides  a  help menu. You may press the V key to show the
  330.     verbose data on each highlighted item.  Items  are  selected  with  the
  331.     <SPACE  BAR>  key  and  will  print  a  marker  at  the left end of the
  332.     highlighted line. (If the marker is already shown, then the <SPACE BAR>
  333.     will remove it).  Use the arrow keys to select a line -  then  mark  it
  334.     with  the  <SPACE  BAR>  key.  You  will  now be asked to enter a scale
  335.     factor.  The default value of 1 will save the line  as  shown.  If  you
  336.     enter  a  1.5,  the quantities will all be multiplied by 1.5 before the
  337.     line is transferred to your daily calorie counter list. (Note that  the
  338.     values  on the screen are NOT modified).  A scale factor less than .001
  339.     will return the line with a factor of 1.  The exercise tables  function
  340.     in  the same way as the food tables, but you enter the time in minutes.
  341.     When you are finished selecting all the applicable  items  on  a  given
  342.     food  table, press <ESC> to add the items to your daily calorie counter
  343.     list.
  344.  
  345.                                     Page 7
  346.  
  347.     Registered users get a Custom Food Table  Menu  from  which  to  select
  348.     their  items.  These  are  the tables that they edited using the CALTAB
  349.     editor. Another feature is the SEARCH routine. If the (registered) user
  350.     enters a "?", he will be asked for a search string. It doesnt matter if
  351.     it is upper or lower case, but is limited to 8  characters  in  length.
  352.     For  example,  the  search words "bacon" or  "Bacon"  or  "BACON"  will
  353.     each  provide  a  table  of 18 items that contain bacon in the title or
  354.     description. A hint to those that will be  using  the  search  routine:
  355.     Even  with  my  XT operating at 10 mhz and with a math co-processor, it
  356.     takes about 12 seconds to search through the 1200 items that come  with
  357.     SLIMMER.   It  will save time if you customize your personal data files
  358.     to eliminate items that you don't eat, and also reduce  the  number  of
  359.     categories if at all possible.
  360.  
  361.         3. Edit Calorie Counter List for n$
  362.     When you have entered all the items for the day or for a portion of the
  363.     day,  you  can  now  edit  the list further by selecting the line "Edit
  364.     Calorie Counter List for n$".  In this editor,  you  can scale any line
  365.     again  using  the  F2  key. You will be asked for a scale factor again.
  366.     You may enter any number from zero upward. For example: if instead of 1
  367.     ounce you want three ounces,  you  enter  a  3  as  the  scale  factor.
  368.     Similarly,  enter  .5 to get a value of .5 ounce. Experiment a bit with
  369.     this until you get the hang of it.  NOTE THAT IF YOU SCALE A LINE BY 0,
  370.     THE LINE WILL BE DELETED. SLIMMER will check  to  see  if  your  scaled
  371.     numbers  seem reasonable.  If the quantity numbers seem out of range, a
  372.     comment  will  be given. At this point you should use the V key to view
  373.     the verbose listing.  As you move the space bar  up  and  down  on  the
  374.     individual  items  in  your  daily  list, you will notice one (or more)
  375.     items in the verbose list  where  the  numbers  are  written  over  the
  376.     vertical  bars that separate the numbers. The corresponding item may be
  377.     in error. After editing your data, use <ESC> to leave ther editor.
  378.  
  379.         4. Hint
  380.     When you are near the top of the menu and want to go to the bottom line
  381.     of the menu, use the <PAGE DOWN> or <END> key. Similarly, the <PAGE UP>
  382.     or <HOME> keys take you to the top.
  383.  
  384.  
  385.         FILE MANAGEMENT SELECTIONS 
  386.  
  387.     This section of the program will let you see which daily calorie  count
  388.     lists  are  stored  for  you. As you enter this section of the program,
  389.     there is a list of dates displayed on the left side of the  screen.  If
  390.     you  are just starting out, the list will be empty. Above the list will
  391.     be displayed "today's" date.
  392.  
  393.         1. Sum your daily calories
  394.     This  will  provide you with a summation of the day's food and exercise
  395.     values for "today's" date.
  396.  
  397.                                     Page 8
  398.  
  399.         2. Change today's calorie counter date.
  400.     The working date - or "today's" date can be changed  by  selecting  the
  401.     "Change  Today's  Calorie Counter Date" line. After you have selected a
  402.     new date, it may coincide with one  of  the  dates  on  the  left  hand
  403.     display  of  dates.  If so, the data for that day will be recalled.
  404.  
  405.         3. Erase today's calorie counter list
  406.     If  you want a blank list for "today's" date, you can select the "Erase
  407.     Today's Calorie Count List" item to clear the file and  let  you  start
  408.     over  for that date. You will have to enter a Y or y to verify that you
  409.     do wish to erase the data.
  410.  
  411.         4. Print your daily calorie counter list
  412.     Using this item will allow you to send your data to an  Epson FX,  to a 
  413.     HP LaserJet,  or  to a PostScript  type of printer. Two print files are 
  414.     created. The first is  the n$.PRT file (Epson FX & ASCII) and the n$.PS 
  415.     file  (PostScript) (where n$ is your name)..  These are created whether 
  416.     you print or not, and are overwritten the next time you elect to print.
  417.  
  418.     NOTE:  SLIMMER  Epson  FX print files only use the standard BASIC print
  419.     commands and should work with most printers. No attempts  are  made  to
  420.     change  line  spacing,  to  skip perforations, etc. I leave the printer
  421.     settings for you to do for your own individual printer prior to running
  422.     SLIMMER. The PostScript files are written using Courier-Bold  10  point
  423.     as the default font and pitch.
  424.  
  425.         5. Recall old list for today's date
  426.     You can recall a prior day's file into today's date (if  you  have  the
  427.     same  thing  to  eat each Friday, for example) by selecting the "Recall
  428.     Old List for Today's Date" line. You will be given a choice of the last
  429.     fourteen (or less) daily calorie count files. 
  430.  
  431.     NOTE:   If  you  already have a file saved for today's date, its values
  432.     will be overwritten.
  433.  
  434.  
  435.         UTILITIES
  436.  
  437.     The  UTILITIES  section is used for a variety of things. It can be used
  438.     to  change or add user names without leaving the program, to change the
  439.     background color, to select the graphic  mode,  to  back-up  your  data
  440.     files,  change  the  mouse  speed,  or  to select a printer. First-time
  441.     users  should  select  a  printer  and  graphic mode during their first
  442.     session. The values will be saved for subsequent sessions.
  443.  
  444.         CALTAB FOOD TABLE EDITOR
  445.  
  446.     This  CALTAB  editor  is  only available to registered users. In it the
  447.     user may edit not only  the  data  within  the  food  tables,  but  the
  448.     description  and  name of the table itself. For new (registered) users,
  449.     you need only enter this section, then escape out of it  to  initialize
  450.  
  451.                                     Page 9
  452.  
  453.     your  personal  food  table files and to generate your index file. This
  454.     index file is your key to using the custom menus in the COUNT  CALORIES
  455.     /  VIEW  FOOD  TABLES  section.  There  is a separate document file for
  456.     CALTAB that goes into more detail ...
  457.  
  458.         UNEXPECTED ERRORS AND LOCKUPS
  459.  
  460.     While  every attempt has been made to squash all the bugs, there may be
  461.     a few that remain. The bugs that throw the program suddenly back to DOS
  462.     are very hard to trace since no error messages are given.   An  attempt
  463.     has  been  made  within SLIMMER to include error-trapping code to cover
  464.     every line of the program. Therefore, if  an  error  should  occur,  an
  465.     error  comment  will  appear  and  you will be able to return to DOS by
  466.     pressing any key. Some multiple errors may even lockup your computer at
  467.     this  point.  (If  you  reach  such  a  point,  make  a  note  of   the
  468.     circumstances  and  drop  me  a  note  about it.) Try the control-break
  469.     followed by control-c to see if there is a response. If there is  none,
  470.     simply  reboot your computer (turn it off then on again) and it will be
  471.     none the worse for wear.
  472.  
  473.         NOT ENOUGH MEMORY TO LOAD OR RUN SLIMMER (ERRORS #7 OR #14)
  474.  
  475.     SLIMMER will require up to 250k to load, but then requires up  to  300k
  476.     as your daily files grow larger. If you have some other programs loaded 
  477.     in memory and SLIMMER doesn't fit, you may have to remove  some  of the 
  478.     other ones.  As  an  aid  in  determining how much memory is left after 
  479.     SLIMMER is loaded, run SLIMMER and whenever you  are  asked for a date, 
  480.     respond with  <ALT><F1>.  This will trigger a routine that will provide 
  481.     you with the memory available. There are two places in the program that 
  482.     ask for the date. The first is when SLIMMER first starts, the second is 
  483.     in the File Management  section  under  the Count  Calories/..selection  
  484.     from  the  main  menu.  From the  File Management  menu,  select Change 
  485.     Today's Calorie Counter Date.  Since some of the arrays in  SLIMMER are 
  486.     allocated dynamically, the  memory  available  will be different in the 
  487.     various sections of the program.  To have a  "running tally"  of memory 
  488.     available show up in the lower right hand corner of the screen,  create 
  489.     & include a file called "memory.dat"  in  the  SLIM30 subdirectory (the 
  490.     contents of the file are unimportant).
  491.  
  492.         RANGE OF APPLICABILITY
  493.  
  494.     As  an Engineer, I often deal with the twin "concepts" of interpolation
  495.     and extrapolation. Interpolation means simply to obtain tabular  values
  496.     from  within the limits of the table. Extrapolation is fabricating data
  497.     beyond the limits of the table by making some assumptions to extend the
  498.     data. SLIMMER, on order to not quit every time that data  is  requested
  499.     from  beyond  the  limits  of  the  tables,  is  written  using  linear
  500.     extrapolation functions - much like weather forcasters do - and assumes
  501.     that what went on before will continue  into  the  future.  There  will
  502.     therefore  be  some error introduced into your ideal weight and calorie
  503.     calculations when you fall  outside  the  following  limits:
  504.  
  505.                                     Page 10
  506.  
  507.         Weight:            minimum = 90 lbs, maximum = 220 lbs
  508.  
  509.         Height: for men    minimum = 5'-1", maximum = 6'-3"
  510.                 for women  minimum = 4'-8", maximum = 5'-10"
  511.  
  512.         Age   : Adults 25 years of age and above. (If between  18  and  25,
  513.                 your  ideal  weight  could be reduced by one pound per year
  514.                 for every year below age 25.)
  515.  
  516.         Exercise Calories: are based on data given for a weight of 150 lbs.
  517.                 An adjustment is made for weight in the range of 110 lbs to
  518.                 190 lbs.  The  range  of applicability is therefore 110 lbs
  519.                 thru 190 lbs.
  520.  
  521.         RUNNING UNDER WINDOWS 3.1
  522.  
  523.     For those running MicroSoft Windows,  a DIET.ICO and a SLIMMER.PIF file
  524.     is included.  From within Windows' 3.1  Program Manager click on  FILE,
  525.     then select NEW. Select PROGRAM ITEM and click OK. Type in SLIMMER 302b
  526.     on the first line.  Select BROUSE.  Find the  SLIM30  sub-directory and
  527.     double-click on it.  Find  SLIMMER.PIF  and  double click on it. Select
  528.     CHANGE ICON,  then click on OK.  Select BROUSE.  Find  the  SLIM30 sub-
  529.     directory again and double-click on it.  Double-click on DIET.ICO. Type
  530.     in  the  working  directory  path for  your  SLIM30  subdirectory  (eg:
  531.     C:\SLIM30).  Click on OK.  This places the  SLIMMER icon in the current
  532.     program group.  You can drag & drop the icon into any program group, or
  533.     create a new program group for SLIMMER.  NOTE: If you ever experience a
  534.     lock-up while running under  Windows 3.1,  use  <CTRL><ALT><DEL> to get
  535.     control, then press ENTER to return to Windows.
  536.  
  537.         DISCLAIMER
  538.  
  539.     For obvious reasons, no claims are made or implied that SLIMMER is more
  540.     than  a database and a tracking tool. All medical data contained herein
  541.     is correct to the best of my  knowledge,  but  the  user  (YOU)  assume
  542.     complete  responsibility  for  the use of and the results of the use of
  543.     this software.
  544.  
  545.         ON THE IMPORTANCE OF EXERCISE
  546.  
  547.     Dieting without a concurrent exercise  program  is  dangerous.  It  can
  548.     lead  to a serious loss of muscle and a drop in metabolic rate. Results
  549.     of a study were reported in  1984  in  "the  Yo-Yo  Syndrome"  by  G.L.
  550.     Blackburn,  M.D.,Ph.D.,  K.N.  Pavlou,  Sc.D.,  and  V. Zak in RxWeight
  551.     Control, Vol.2, No.5, Jun-Jul 1984.
  552.  
  553.                                     Page 11
  554.  
  555.  
  556.     When 1000 calorie a day diets were administered to separate  groups  of
  557.     exercisers and non-exercisers, the following results were found:
  558.  
  559.                           EXERCISE GROUP        NON-EXERCISE GROUP
  560.  
  561.     Food Calories             1000/day              1000/day
  562.  
  563.     Total Weight Loss          19 lbs                18 lbs
  564.  
  565.     Body Fat Lost              23 lbs                11 lbs
  566.  
  567.     Muscle Gained               4 lbs                 -
  568.  
  569.     Muscle Lost                 -                     7 lbs
  570.  
  571.     If  you attempt to diet without exercise, you will reach a plateau at a
  572.     weight higher than your ideal weight, and  your  metabolism  rate  will
  573.     decrease as your body tries to compensate for the lack of calories. The
  574.     above table should help to convince you of the need to exercise.
  575.  
  576.     Ways to Help to Lower High Cholesterol Levels:
  577.  
  578.         1. Decrease or eliminate coffee and alcohol from your diet.
  579.         2. Include fish in your diet.
  580.         3. Include  soluble  fiber in  your diet - especially that found in
  581.     beans (pinto or navy) and from oat bran.
  582.         4. Exercise at least 3 or 4 times a week.  This helps increase  the
  583.     good cholesterol HDLs and decrease the bad cholesterol LDLs.
  584.  
  585.     Sources:
  586.  
  587.     United  States  Department  of Agriculture, "Nutritive Value of Foods",
  588.     Home and  Garden  Bulletin  Number  72,  Revised  1981.  United  States
  589.     Department  of  Agriculture,  Handbook No. 8, Revised Sections 8-1 thru
  590.     8-12.
  591.  
  592.     Bowes  and  Church's  "Food  Values  of  Portions  Commonly Used", 15th
  593.     edition, revised by Jean  A.T.Pennington,  Ph.D.,  R.D.,  published  by
  594.     Harper & Row, New York.
  595.  
  596.     "The Complete "Lite" Foods Calorie, Fat, Cholesterol, and Sodium
  597.     Counter", by Densie Webb, Ph.D., R.D., Bantam Books, 1990.
  598.  
  599.     "The Complete Book of Food Counts", by Corinne T. Netzer, A Dell Book,
  600.     1991.
  601.  
  602.                                     Page 12
  603.  
  604.     Routines written by others and used in SLIMMER are
  605.         TBWINDO.INC  -  Turbo  Basic  window  routines that make SLIMMER an
  606.                      attractive program. For those  of  you  that  want  to
  607.                      contact him, Rick can be reached thru  his  Compuserve
  608.                      #   76210,443.   He  now  has  improved  routines  for
  609.                      PowerBasic as well.
  610.         INPSUB.INC  - Author Unknown
  611.         JULIAN.INC  - Public Domain by Joe Vest
  612.         FNEDIT.INC  - Public Domain by Joe Vest
  613.         GETFREE.BAS - Author Unknown
  614.         CHKCRC.INL  - Written by Craig J Kim
  615.  
  616.  
  617.  
  618.         ABOUT THE AUTHOR / PROGRAMMER
  619.  
  620.     SLIMMER is  my  first major program  and is written in TURBO BASIC.  My
  621.     background is in Structural Engineering, however I'm currently  working
  622.     in the field of Information Technology  for  Orbital  Sciences  Corp in
  623.     Germantown, MD. I hold a PhD in Applied Sciences from the University of
  624.     Delaware,  where  I  completed  a  dissertation  on  various   solution
  625.     techniques  for laminated plates. My interests include the violin which
  626.     I currently play with my church's worship team.  My home computer is an
  627.     386 clone, operating at 50 mhz with an 512 meg hard disk,  and a 3-1/2"
  628.     floppy disk & a DoubleSpeed CD drive.  I  use a  14,400  baud modem and
  629.     BOYAN's version D5 shareware comm package  to access the various BBS's.
  630.     My programming time is often in the wee hours - usually between 3 and 6
  631.     am and on the  weekends -  and  any other free moment.  If  any  of you
  632.     want to drop me a line or leave a message, my mailing address is:
  633.  
  634.                         George D. Summers
  635.                         2117 Coon Club Road
  636.                         Westminster, MD 21157
  637.  
  638.     and my Compuserve number is: 76276,564
  639.     
  640.     Over the Internet, I can be reached at
  641.                        
  642.                        Internet:76276.564@compuserve.com
  643.  
  644.  
  645.     I'll  have  the  latest version of  SLIMMER  available on CompuServe in
  646.     Library 10 (Nutrition). Type GO GOODHEALTH at the ! prompt and when you 
  647.     get to the library, brouse thru using the keyword SLIMMER. Registration 
  648.     of SLIMMER is available on-line in GO SWREG, ID # 186.
  649.  
  650.  
  651.                                     Page 13
  652.  
  653.  
  654.         WHERE DOES SLIMMER GO FROM HERE
  655.  
  656.     Every  major  revision  to  SLIMMER  takes  about  six  months or so to
  657.     formulate and test. You the users will, to a large part,  be  the  ones
  658.     that  dictate  what is and is not included in future revisions. Do send
  659.     your comments and suggestion. A version for Windows is in the works and
  660.     is in (preliminary) Beta Testing as of this date (Feb 95).
  661.  
  662.  
  663.         REGISTRATION
  664.  
  665.     For those of you interested in registration, all  the  information  you
  666.     need  is found by selection the REGISTRATION line in the main menu. You
  667.     are shown a registration form that you can send  to  your  printer.  
  668.     
  669.     Be sure to indicate your preference for 3-1/2" or 5-1/4" disks.  You may
  670.     use the form found on the next page of this document file instead if you
  671.     have printed this file.
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.                                     Page 14
  686.  
  687.  
  688.                          SLIMMER 3.03c REGISTRATION FORM
  689.  
  690.  
  691. Your Name _____________________________________________________________________
  692.  
  693. Street Address ________________________________________________________________
  694.  
  695. City, State, Zip ______________________________________________________________
  696.  
  697. Phone # (Optional) ____________________________________________________________
  698.  
  699. Disk Size Desired      3-1/2" ________     or    5-1/4" _______
  700.  
  701. Disk Density           High   ________     or    Low    _______
  702.  
  703. Registration # shown in SLIMMER closing screen  _______________________________
  704.  
  705. Amount Enclosed:  $25 for registration __________
  706.  
  707.                   $30 for registration outside USA __________
  708.                       (U.S. Funds or Money Order on U.S. Bank Only)
  709.  
  710. Please describe your equipment (optional):
  711.  
  712. Computer type ____________________________________________DOS version__________
  713.  
  714. Amount of RAM (memory) __________  ;   Hard disk size ___________ meg/gig
  715.  
  716. Graphics type: Mono _____ , CGA _____ , EGA _____ , VGA _____ , Other _________
  717.  
  718.  
  719. Comments_______________________________________________________________________
  720.  
  721. _______________________________________________________________________________
  722.  
  723. _______________________________________________________________________________
  724.  
  725. _______________________________________________________________________________
  726.  
  727. _______________________________________________________________________________
  728.  
  729. Please send this form and your check to:
  730.  
  731.                         George D. Summers
  732.                         2117 Coon Club Road
  733.                         Westminster, MD 21157
  734.  
  735.  
  736.  
  737.